﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace ConsoleApplication2
{
    class Program
    {
        static void Main(string[] args)
        {
            //string ssss = System.Web.HttpUtility.UrlEncode("AK 青年旅馆", Encoding.UTF8);
            //ssss = ssss.Replace("+", "%20");
            //Console.WriteLine(ssss);

            //Console.WriteLine(System.Web.HttpUtility.UrlDecode(ssss,Encoding.UTF8));

            //Console.WriteLine(DateTime.Now.Date);
            //Console.WriteLine(DateTime.MinValue);

            //float ii = 0;
            //float.TryParse("1.0112312312",out ii);

            //Console.WriteLine(ii);

            string filestr = File.ReadAllText("TextFile1.txt");

            Console.WriteLine(filestr.Length/1024.0);

            Console.Read();
        }
    }
}
